StoreEngine\Addons\Stripe\PaymentTokens\StripePaymentTokens B

Total Complexity 99
Dependencies 15
Dependents 2
Total lines 646
Lines of code 362
Logical lines of code 240
Comment lines 187
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
storeengine_get_customer_upe_payment_tokens()
B
40 18 58
add_token_to_user()
A
40 12 63
storeengine_get_customer_payment_tokens_legacy()
A
43 12 49
get_token_classname()
A
54 8 24
update_token_from_method_details()
S
52 7 24
get_token_from_request()
S
60 7 12
get_account_saved_payment_methods_list_item()
S
52 6 25
customer_has_saved_methods()
S
59 4 15
get_original_payment_method_type()
S
64 4 11
get_token_label_overrides_for_checkout()
S
58 3 16
storeengine_payment_token_set_default()
S
59 3 14
get_duplicate_token()
S
60 3 13
is_valid_payment_method_id()
S
69 3 6
storeengine_payment_token_deleted()
S
67 2 8
get_payment_method_type_from_token()
S
78 2 3
normalize_sepa_label()
S
71 2 6
is_valid_payment_method_type_for_gateway()
S
75 1 4
storeengine_get_customer_payment_tokens()
S
82 1 3
__construct()
S
65 1 8